// pages/webView/webView.js
import { baseURL } from "../../utils/config";
Page({
	data: {
		urlData: [
			'https://mp.weixin.qq.com/s/DE_iJie0RAmO1vUbOkSIsg', //关于我们
			'https://mp.weixin.qq.com/s/kXXB6ZqabTSrZhW0nGJlag', //使用攻略
			'https://mp.weixin.qq.com/s/Uu-4SgU3qxSFsjq2SjQuIw', //集中推广
			`${baseURL}/html/static/focusOn.html`, //微信授权
		],
		url: ''
	},
	onLoad(options) {
		this.setData({
			url: this.data.urlData[options.type - 1]
		})
	}
})